package com.lxk.dao;

import com.lxk.pojo.RuleInfo;
import com.lxk.pojo.RuleInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RuleInfoMapper {
    long countByExample(RuleInfoExample example);

    int deleteByExample(RuleInfoExample example);

    int deleteByPrimaryKey(Integer ruleInfoId);

    int insert(RuleInfo record);

    int insertSelective(RuleInfo record);

    List<RuleInfo> selectByExampleWithBLOBs(RuleInfoExample example);

    List<RuleInfo> selectByExample(RuleInfoExample example);

    RuleInfo selectByPrimaryKey(Integer ruleInfoId);

    int updateByExampleSelective(@Param("record") RuleInfo record, @Param("example") RuleInfoExample example);

    int updateByExampleWithBLOBs(@Param("record") RuleInfo record, @Param("example") RuleInfoExample example);

    int updateByExample(@Param("record") RuleInfo record, @Param("example") RuleInfoExample example);

    int updateByPrimaryKeySelective(RuleInfo record);

    int updateByPrimaryKeyWithBLOBs(RuleInfo record);

    int updateByPrimaryKey(RuleInfo record);
}